@import "~style";

.@{prefix}-er-editnode {
  background: @background-color;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  &:hover {
    .@{prefix}-er-editnode-mind {
      display: flex !important;
    }
  }
  &-link {
    color: @primary-color !important;
    text-decoration: underline;
    cursor: pointer;
  }
  & > pre {
    width: 100%;
    padding: 2px;
    overflow: auto;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  & > textarea {
    padding: 2px;
    width: 100%;
    height: 100%;
    resize: none;
    border: transparent;
    &::placeholder {
      text-align: center;
    }
  }
  & > span {
    text-align: center;
    padding: 2px 5px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  &-info {
    color: @background-color-simple;
    position: fixed;
    right: 5px;
    bottom: 5px;
    cursor: default;
  }
  &-mind {
    display: none;
    justify-content: center;
    align-items: center;
    background: @primary-color;
    color: @background-color;
    position: fixed;
    width: 15px !important;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
  }
}
.@{prefix}-er-editnode-circle {
  border-radius: 10px;
}
.@{prefix}-port {
  width: 100%;
  height: 100%;
  background: #FFF;
  border: 1px solid #ACDAFC;
}
.x6-widget-transform {
  z-index: 998;
}
